workaround for unit test