cleanup .maciasl for better sorting