fix calling table multiple times on accident
simplify sub installer