fixed some auto fill fields in discharge