Removing duplicate render error