prevent runtime err