fixed errors and warnings reported by pychecker