cleanup
fix for darwin