quick attempt to fix bug encountered by Seogi