fix to compile in eclipse