updated response

- return undefined instead of false for err