add specs and fix custom attribute option