Fix post event and picture apis