add input check for proc monitor