fixed minor bug/apinson