fixed issue with empty contact