Fixing bug from exporting jar.