fix routes galleries and paintings