fixed 0,0 location bug