another runtime error fix