remove unsed vars