fix return image url generate