get flash notices working