fixes for MAMP