fixed some inconsistent configuration