fix correct manifest applying