Fixed state not filling in edit emp