fix travis
rename enum direction to key