Fixed some snippet