fixing some artifacts