reformat web style and all work well now. Will do code reformatting soon