fixed mysterious extra ">" and other minor stuff

thanks stephen!