bugfix for lightcrafter pattern loading.