Fixes call to undefined $alt