fixing strict errors and installer