fix to send information to backend