corrected source code error - RB