Removed extra .tmp case