bugfix - COALESCE so that balance does not return null