workaround for key bug