Fixed the strange bug