fixing bugs in Daves edit and ustar--small adjustment