fixed issue with files metadata