use alert class for errors