fix inline bug introduced by 97c360e632e92d72a8e12c12c7aa841641dbe8f5