bugfix and textures