bugfix for notifications