code refine
for salary api