Signal for clock works but doesnt print right