fix compile and remove galibi crash