Maps uses template and works in release mode now