Pi via pthread works correct but is not formatted