Quick patch to the code so that the jar can be generated