fixed a bug in declV