Hidding logic updated