Fixed remote_trim