Fixed crashing bug in chain screen