Fix a bug caps