fixing one typecast;