fixed output bugw