fixed #246 jpconfig error