fixed bug with webapp validator