modifications on spring validation