minor exception fixed

first last char remove fixed