fixed undefined offset 1
Merge branch '2.0' of github.com:egi/cholesterol into 2.0