Correct all of the grammatical errors in the given sentence
When I spend my time in my room, I feel lonely but comfartable at the same time.
When I spend my time in my room, I feel lonely but comfortable at the same time.