ref: removing warnings
fix: typing errors