fixed executeQuery "no return at end of function"