fix hidden and empty