add specs and fix