fix indents, do not call mapnik if not needed