fix global path -> from macros definitions to const variables