fix undefined $htaccessWorking