fix attempt realpath