changed mappedin.api back to var mappedin so it doesn't break people's stuff.