modified app validator