remove temp file stuff as it didn't work