Fixed the bug that fixing my bug created