Fix error on copying app