fix problem with PostController