bug fix in parallex

bug fix in parallex