load layer done, problems with segmentation error when zoom tools are used