Fixed silly memory error in previous commit