Fixed a minor bug on fork and edited minor thing in startup