Fix syntax erreor in directory views