attempt to fix warnings