removed regex parameter from param(), it may confuse things.