Fixed asset inconsistancy and improved error message in statement node