[4.2] a tiny change

same tiny changes for imroving chunk function for 4.2