Fixed a bugg