fixed subtle mistakes