Added slight advance for alert
Fixed ugly formating