FIX: no segfaultf with graphic client