Fixes unused_variables warning