fixes pylint warning