body is not defined fix