Fix some extension error