Solving bug with ids?