Fix form commit mono

Was crashing in mono