fix remove statement