fix bug with last star