Fixing typeo and bug in static file selector.