refactor blitContext