fixed bug with post