fix limits when retrieving gid
decrease number of log