fixing duplicate salary entry