trying to fix warnings