fix bug in solution to #7