[#1063] Fixed a minor bug