lack of an else if was preventing the qPCL plugin compilation