fix bug in dim, add label for increase SP