fix fd_ctx_t bug