qd afterbuild fix