fixed /etc/profile.d loader