fix "no atlas" crash