Fixing data types