remove Bool from ccall