Added a check for cosID
Fixed meta viewport