Fixed initialization when running callback is not given to