BugFix: fixed littlebug in firm/fork function