fixed apply for map injection