fixed bug from extraneous print