fix user not defined
remove site_media directory