PostController bugs fix