Fixed post and delete actions.