fixed: wrong implementation of 1.37, which lead to the incorrect results of 1.38