Fix some bug and add some more information about configuration