get rid of two unused var warnings