fix with htaccess and some fixes with parameters