removed unnecessary `realpath` operation