fix specs and remove white spaces