fixed bug in protein model selection procedure