cleaning code & editing lcd_pos func