made the prints dissapear after a while and fixed som code