Removed extra casts
Minor change