fix string formatting
fix field validation