fixed keyexpansion function

fixed keyexpansion function