fixed period str and repr
fixed failed plot