fixed bugs in the inpro files