fixing errors;
making notify n request return promise