fixes after running on Mac