Fixed error messages to have dynamic width