Fixed errors due to a misconseption