Logic correction

#oops