small duplication bug