add phpids
kleinere fixes/codecleanings