use addFirst for resolving static access path