fixed bug where successful callback with no return data throws a client side error