Fixing warning and hopefully crash.