fixed bug with post model save