Please can you read again:
When I upload the program with USBasp everything works well, but when I disconnect and connect the power the program dosn't work correctly. and when I upload the program again everything works well.
Then the USBasp is my source.