fixed a type cast typo