fix process handler