Small error fixed with regex