fix measurements