fixing success/error message placement