Update Engine.Functions.cpp

moved in substitute_alias