fixed 2 mistakes