fixing data types