Fixed a bug that could cause a freeze