proper pattern coords check fix