changing status to state in avb, and using recompile directive to be safe