removed deprecated temp files
fixed small bug