minor form bug fixes