Logical error fixed