resolving bugs found by tester