more cleaning, php tags, typo