fixed few bugs in dubit code style