error on config declaration