fix failing profile api test by preventing double-adding of same alias