Core: Fix warning