removing optional components