[CLEANUP] - minor bug fixes in map and broadcast samples