Fix bug #1

bug #1 is now fixed