fixed undefined -family variable