fixing APP_HOME and DEEPDIVE_HOME