fixed specs, corrected default attributes handling