Bug fixed on config