don't add "." extension separator twice