fixed bug regarding configuration