Fix imagge pasteing