Alert error messages fixed

Now they're displayed in a somehow proper way