in case error was already generated