Removed unneded casting