Remvoed debug code form integer check.