hide overlay through config