[STM-4]

- Fixed some major bugs.