fix bug that causes errors when files are concatenated in production environments