Ugly setting hack