temporary fix: showing texture
small refactoring