fix problems with example