minor lint and remove init function