format error: remove extra ~p