fix errors, ID of queries are int, post and channel object, structure of level2