Merge pull request #898 from kitan1982/master

Fixes display bug when creating resource