fix setting of /opt directory