fix content and dir