updated serve validation