fix re-declare bug

I hope this works.