fix to parallel version