protein separation bug fix