fix porst permalink validation