polished a few width errors, and added alarms