input in procedure is undefined at runtime - tRPC