fixed categories via ajax or perm.php, added hidden post function