Fixed issue with links. Special thanks to http://dou.ua/users/oksana-kyrychenko/