Fixed auto-increment install bug