bug

logic mistake.