removed useless cast