only add qop if it's defined