Removing inf related bug