delete most useless code from potfile