Amend form method to fix validation error