fix printf specifier
find most common amplitude