Cleans aliases and repair of grm