fixed the minor errors

still getting scary stuff about forked processes but ok