fix post error rules