deleted unuseful function and insert the notify ones

Signed-off-by: degrigis <fbi.gritti@gmail.com>