post class fix