moved installer inside of CI

and fixed the code a tiny