fixed gamebreaking bugs