fix error for negative number
fixed error for adding new members when group already exists but no corresponding gshadow entry exist