bug in function for GI50