contract detail null issue