Fixed typo which caused a bug :)