error msg depends on selected action