remove unused variable to avoid compiler warnings