remove redundant casts
forgot one more query to cancel for