0031 bug fix and Dial Function