Change check error when not access to metadata