changed max length for context proc