Removed all the post id logic and fixed bugs.