change ids to Long