fixing bug due to typo