error loggin, source map adjustments