fix issue on attributes, fix tab