Removed useless casting