solve the problem of no enough space