fix screen moving direction
fix buffer local variable name