fix the bug in images request