found bug in updating alias, wrong order of inputs