fix colors for ams lines