Removed useless cast