add two isFunction
add qryposition
fix the order of "if-else"s
rm unvalible file