bug fixes in problem description