clean up jp file