It doesn't crash for me. When you get the error, which line of code is highlighted when you hit the debug button?