stupid map workaround