fix handle_callback