Small fix in building class