fix for invalid image in responseData