fixed frame border check