fixed map cast in content processor