make sourcemaps work