added odd length list fix