fix rebuild command