improved css and alerts