fix sp bar builder