Optimization

Changelog:
*Put one variable for all ErrorMessages