clean up for pyosm