fix overriding  variable in both files