removing posttype