bug resolve: set default upload dir to app dir