fix for new coordinate system