fixing the spn verification section. i am finally happy with this