Remove funcs and correct .htaccess