changing values to be correct