delete redundant file from profile controller generate