styling error and alerts