fix bug related to imread func..