solving issue with regex expression static serving