fix for x and y factor