Removed extra cast