Small error fix

Framework version variable was not used by the hard-coded 404 error