fix for empty view