add secure check on engine name