fixed extend
Merge branch 'master' of https://github.com/regeda/castel