changed more reliable regex for thrid