fixed regex slightly