fixed problem with custom package that was creating error in saving settings