Profile bug fixes