minor fixes, add: universal alert function