Revert "bad logic, fixed it now"

This reverts commit 711b4cd54cecec4863ba4d8e5730c2a1fc7da1fd.