Bug/27 cannot use attributes set in prepare