fix improper callback calling