fix problem 18