bug fix and some comment added