Fixing useless warning