fix malformed settings