fixed typo that caused alert error not to show up red.