Fixed the problem with crash problem on the Github

(I hope so)