added algorithm package env error
added algorithm package env error
fixed #6