wherex/wherey didn't return anything

added return