Fixed a small bug in foo 1