fix , now you cannot make buildings with no resource