expand home directory
fix dependency