correct type to wall coordinates