fixing extra var