fixed client callback block