frame mask check