Minor fix.
Disable image nullchecks
Fixed incorrect preconditionchecks