better error message on addmap