bug fix for incorrect type