small fix for coords