quick fix to inverted