fix remove image api
remove console print