replace top space