add macro for dbext