modified allow posts feature