fixed stupid comparison