fix indentation, becaue python 3 complains
use explicit imports for python 3 compatibility