fixed missing  error around line 1260