Fixed application not working if hostname contained dashboard