Changed variable, fix crash