Fixed a bug I accidentalyl created