remove un-used local variables