correction to the last commit - cleaning of homo restraints