Remove unused variable length