remove un-necessary variable