Bug where it was setting the offset and not the value