fix empty wage on edit