Fixed level duplication bug