fixed smaller than bug