fix post being nil in create action