fix reading of alpha map