fixed breaking jnxfile and doesnt null terminate by default