Fix duplicate post issue