bug fix - attributes should not be compulsory