-fixed bug resulting from factor names (T/F) rather than (0/1)