fixing rename globals for case sensitive OS (linux)