Fixed calendar error, added setting for header size