fixed header size issue after variable changes