Fixed a bug with skin property