Problems with empty chr solved