fixed bug in procedures definition - variables disappeared on zoom in/out