refactoring source maps