fix digital gain