fix setup macro