handle invalid link