Fixed bug due to type-o