remove unneeded prototype declare
change init function decraration point