fixed is.empty that fail some times.
added exted to accept an object as argument and pass it to mysql module