modify some ALS lines based on Aapo's suggestions
modify some ALS lines based on Aapo's suggestions