add foreman check correctly