Fixed a scary bug