Fixed two bugs in consolidatebio