added url redirect if id is incorrect