Fix for unused variable warning