links working better so not to throw error