Fixed casting issue