changed stack access to be synchronized on model queue