fix formatting and don't show second stimulus if trial is over