bug fix: remove unused line of code