fix error message coloring
refactor empty list transmission
fix HasMany indexes check condition
remove unused import
add validation errors output