fix layer and number
Merge pull request #12 from AncientLysine/master

Merge 20130602_2