Fix check-metadata spaces