Cannot solve problem with sending id