review the way we handle img upload