Fix for aws credentials