Devel

improve gen pch