fix output if there are source maps