fix bugs in procedures
Merge branch 'master' of github.com:DBFocus/CPProcedure