fixed bug in line 182 on popcornlib for novasbe