modify wapframework