fixing data types.