fixed ID validation, forgot $ in regex