fix coordinate check
remove not needed deps