fixes wrong prints