a few fixes to kill xCode warnings and to make functions that add a component return that component