several security and small bug fixes