Fixed usage of keyword dir