fixed format, fixed reference to directories