added trim and clear for change admin