check from state upon loading control