addPostFields string check fix