memory start bug fixes