Fixed 'null' error in Note domain