work out some late bugs