directories not getting deployed correctly