added notification support
fix syntax