fixed minor config issues, fix null pointer