bug fixed when request body missing