2 runtime fatal errors fixed