upload patients page bug fix #4