fixed bug where devtools throws an error on a non lavaca page