Fixed an issues with escaping styles. Added deadline.