bug caught by testing