workaround for a odd bug