fork pushes -1 at return location