Fixes unused-var warning