Fixing cast typo