Fix boldtype bug