Fix unused variable warning