fix bug with empty POST-Body