Fixed unused warning