ugly workaround with ugly spec for ugly problem