Fixed a cap error