bug fixes for starting