some coder changes to udpate to 7.