fix little error and config