Added exception handling in Metadata when from has 6 values