fixing global