update mock, fixed #19