Fixed small error just before crash :)