fix: "/assets/?invalid=true" raises internal server error