bug fixes in case update