fix for warning of unused var