got dref rewrite rule working properly