BUG: Not put result to null when is error