cleaned up build title logic