redefine check in top setting class