fixed pictures refresh bug