fixes in foreman