bug fixes and making uuid stuff work.