remove python2.7+ syntax