mapping should show * instead of undefined on right side