Fixed bug with extend code.
5.1.8