fix for alps profile generation; incomplete