fix process check