bug fixes with side effects