Bug fix for webapp deployment