image validation tweaked, soon done