Fixed initialization in DMAP module