fixed another bug due to eclipse autogeneration.