small fixes in basis.Class & resources