person model inheritance bug fixed