fixed typo/bug with expansion
bug fix