bug fixed. coordinates werent normalized