fix bug with post