theory table layout fix