add only_once to callback .in case it will be called more than once

add only_once to callback .in case it will be called more than once