corrected pager and terminal type
fixed pager annd terminal type