remove unecessary casts