fixed issue with extend method
release 2.0.10