structure specs and fixing build