small layer fix (not enough but still better)