fixed more logic in post