fixed syntax for compatibility with python3