default attrs and options to empty object