got rid of small bug giving errors