fix process bug