Fixed Potential Bugs

Because of a typo