Fix extension on server-side