fixes for shared hosting