updated some mistakes