fixes typo and removes tmp folder