set correct pat