Fixed error of access to non-object property while creating feature.