fix smarty3 errors in maps module