onenter directive fixed