fix capability type