fix bug in pro