fixed issue where file list appeared twice