fixed a little bug

this actually explains some issues