fix little bug, kill warning