fix stupid coordinate bug