li'l fix for a crash