preview block bug fixing