fix validation attrs, file formatting