cleanup and bug fix

fix drmModeAddFB problem