fix missing errors for period element of amplitude