ec2 fix and pic in gbm