fixing minor bug found by QA