minor code cleanup

just got rid of 2 warnings nbd