fixed unused warnings