minor fix in base and comment controller and added validations for line items