fix bug of init with twice default freq instead of amplitude