put bmask as last extension