fix call to $(realpath )