bug fixes
previousVersion bug fix