errror msg shown on add without select