Fixed most of common errors, validate empty fields, fix family view bug