got rid of bad tmp