Restore reference for mainInput jsx