fix warnings in 1.3 code