fixed issue in first example