remove unwanted debug
fix testissue 11 and update globals processing
update globals processing