resolve null err