fixed issue with registering callbacks;