Check size before download, regex fix