removed useless cast to u16