fix masks