bug fix in main
bug fix intra_pred