fix alias saving