remove implicit converstion from bool to smart ptr