removed useless variable clear