regexp adjust & delay fix