remove multi-declare variable warning