fixed unused reference