Fixing typos and move all error class to use translate error class. close #40