another small tweak
fixed a crash