matchcode location check