fix bug in dump program information