some bug fixes for container start