fixed call to method only present in 3.4