clean up the directory and normal play page