fix bitmap config use

Is the main change adding the try/catch? (it's hard to tell what are the actual diffs with Github here)