fixed error pointed out by /u/Jack-5225