fix variable shadow