add alerts instead of blank handler