fix prototype & styles