Fix when top is more than zero