removed random text at the end of the file