modify yaf framwork