minor bugfix for missing site rewrite