added once to be sure that callback is called only once