r27 bug fix [ver 3.2.5]