sample config adjusted and bugfix