Fixing globalisation error (trying to)