enhance publication form and error handling