fixing small bug
adding email notification