Fixes to instagram plugin